22
|
Is it possible to let user choose the inserting mode, when he presses Insert key ( method 1 )
public void init()
{
;
super();
exmaskedit1.Mask("00:00");
exmaskedit1.Text("12:3");
exmaskedit1.AllowToggleInsertMode(true);
exmaskedit1.InsertMode(1/*exEditOvertypeMode*/);
}
|
21
|
Does your control support overtype mode ( method 2 )
![](images/exmaskeditq21.png)
public void init()
{
;
super();
exmaskedit1.Mask("00:00;;;overtype");
exmaskedit1.Text("12:3");
}
|
20
|
Does your control support overtype mode ( method 1 )
![](images/exmaskeditq20.png)
public void init()
{
;
super();
exmaskedit1.InsertMode(1/*exEditOvertypeMode*/);
exmaskedit1.Mask("00:00");
exmaskedit1.Text("12:3");
}
|
19
|
How can I change the colors to show a read only field
![](images/exmaskeditq19.png)
public void init()
{
;
super();
exmaskedit1.ForeColorReadOnly(WinApi::RGB2int(255,255,255));
exmaskedit1.BackColorReadOnly(WinApi::RGB2int(0,0,0));
exmaskedit1.ReadOnly(true);
exmaskedit1.Text("text");
}
|
18
|
How can I lock or make read only the field (method 2)
![](images/exmaskeditq18.png)
public void init()
{
;
super();
exmaskedit1.ReadOnly(true);
exmaskedit1.Text("text");
}
|
17
|
How can I lock or make read only the field (method 1)
![](images/exmaskeditq17.png)
public void init()
{
;
super();
exmaskedit1.Mask("*;;;readonly");
exmaskedit1.Text("text");
}
|
16
|
Is it possible to mask a password field (method 2)
public void init()
{
;
super();
exmaskedit1.Right(true);
exmaskedit1.Text("text");
}
|
15
|
Is it possible to right align field (method 1)
public void init()
{
;
super();
exmaskedit1.Mask("*;;;right");
exmaskedit1.Text("text");
}
|
14
|
Is it possible to mask a password field (method 2)
![](images/exmaskeditq14.png)
public void init()
{
;
super();
exmaskedit1.Password(true);
exmaskedit1.Text("password");
}
|
13
|
Is it possible to mask a password field (method 1)
![](images/exmaskeditq13.png)
public void init()
{
;
super();
exmaskedit1.Mask("*;;;password");
exmaskedit1.Text("password");
}
|
12
|
How can I mask an integer within a range
![](images/exmaskeditq12.png)
public void init()
{
;
super();
exmaskedit1.Mask("{1950,2050}");
exmaskedit1.Text(1979);
}
|
11
|
How can I mask an integer value with no grouping support
![](images/exmaskeditq11.png)
public void init()
{
;
super();
exmaskedit1.Mask(";;;float,grouping=,decimal=,digits=0,select=1");
exmaskedit1.Text(12345.67);
}
|
10
|
How can I mask an integer value (method 2)
![](images/exmaskeditq10.png)
public void init()
{
;
super();
exmaskedit1.Mask("-#####;;;float,select=1");
exmaskedit1.Text(-12345.67);
}
|
9
|
How can I mask an integer value (method 1)
![](images/exmaskeditq9.png)
public void init()
{
;
super();
exmaskedit1.Mask(";;;float,decimal=,digits=0,select=1");
exmaskedit1.Text(12345.67);
}
|
8
|
How can I specify the number of digits when masking a float (method 2)
![](images/exmaskeditq8.png)
public void init()
{
;
super();
exmaskedit1.Mask("###.#;;;float,select=1");
exmaskedit1.Text(12345.67);
}
|
7
|
How can I specify the number of digits when masking a float (method 1)
![](images/exmaskeditq7.png)
public void init()
{
;
super();
exmaskedit1.Mask(";;;float,select=1,digits=1");
exmaskedit1.Text(12345.67);
}
|
6
|
How do I mask a positive, floating point numbers support, including grouping of digits
![](images/exmaskeditq6.png)
public void init()
{
;
super();
exmaskedit1.Mask(";;;float,select=1,negative=0");
exmaskedit1.Text(-12345.67);
}
|
5
|
How do I mask a floating point numbers support, with a different decimal character
![](images/exmaskeditq5.png)
public void init()
{
;
super();
exmaskedit1.Mask(";;;float,grouping= ,decimal=\\,,select=1");
exmaskedit1.Text("12345,67");
}
|
4
|
How do I mask a floating point numbers support, excluding grouping of digits
![](images/exmaskeditq4.png)
public void init()
{
;
super();
exmaskedit1.Mask(";;;float,grouping=,select=1");
exmaskedit1.Text(12345.67);
}
|
3
|
How do I mask a floating point numbers support, including grouping of digits
![](images/exmaskeditq3.png)
public void init()
{
;
super();
exmaskedit1.Mask(";;;float,select=1");
exmaskedit1.Text(12345.67);
}
|
2
|
How can I change the control's foreground color
![](images/exmaskeditq2.png)
public void init()
{
;
super();
exmaskedit1.ForeColor(WinApi::RGB2int(255,0,0));
exmaskedit1.Text("aka");
}
|
1
|
How can I change the control's background color
![](images/exmaskeditq1.png)
public void init()
{
;
super();
exmaskedit1.BackColor(WinApi::RGB2int(255,0,0));
}
|